package com.quarters.service;

import com.quarters.bean.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quarters.bean.layuiBean.ResultPage;
import com.quarters.bean.request.VoPage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 冯政尚
 * @since 2019-09-11
 */
public interface NoticeService extends IService<Notice> {


    /**
     * @param voPage
     * @return 后台查询
     */
    ResultPage<Notice> selectMyPage(VoPage voPage, Long userInfoId);


    /**
     * @param voPage
     * @return 后台查询
     */
    ResultPage<Notice> selectMyPageAll(VoPage voPage );

    /**
     * @param userId
     * @param createTime
     *  给用户发送通知模板消息
     */
    void sendNotice(String userId,Long createTime,String content,Long noticeId);
}
